package com.woniu.cq.malluser.client;

import com.woniu.cq.feign.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Daniel
 * @version 1.0.0
 * @ClassName CommonClient
 * @Description TODO
 * @createTime 2020年09月20日 22:16:00
 */
@FeignClient(value = "mall-common",configuration = FeignConfig.class)
public interface CommonClient {

    @GetMapping("/user/getCode")
    String getCode(@RequestParam("mobile") String  mobile);
}
